﻿/*
 * Cratos Server - WCF Service
 * Cratos Dual WCF Service Callback interface
 * 
 * Copyright (c) 2011-2012 Draco
 * 
 * This file is part of Cratos.
 * 
 * Cratos is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 *
 * Cratos is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Cratos.  If not, see <http://www.gnu.org/licenses/>.
 * 
 *       .==.        .==.
 *      //'^\\      //^'\\
 *     // ^ ^\(\__/)/^ ^^\\
 *    //^ ^^ ^/6  6\ ^^ ^ \\
 *   //^ ^^ ^/( .. )\^ ^ ^ \\
 *  // ^^ ^/\| V""V|/\^ ^ ^ \\
 * //^^/\/ /  '~~'  \ \/\^ ^ \\
 *  ------------------------------------
 *  HERE BE DRAGONS
 *  
 *  Johan Dercksen - johan@draco.co.za
 */
using System;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Cratos.Server.WcfService
{
	/// <summary>
	/// Cratos Dual WCF Service Callback interface declaration
	/// </summary>
	public interface ICratosDualWcfServiceCallback
	{
		#region Interface Events
		#endregion

		#region Interface Properties
		#endregion

		#region Interface Methods
		/// <summary>
		/// Cratos Collection New Page message
		/// </summary>
		/// <param name="ctCratos">Cratos WCF Contract</param>
		[OperationContract]
		void CratosNewPage(CratosCollectionNewPageContract ctCratos);

		/// <summary>
		/// Cratos Collection Error message
		/// </summary>
		/// <param name="ctCratos">Cratos WCF Contract</param>
		[OperationContract]
		void CratosError(CratosCollectionErrorContract ctCratos);

		/// <summary>
		/// Cratos Collection Completed message
		/// </summary>
		/// <param name="ctCratos">Cratos WCF Contract</param>
		[OperationContract]
		void CratosCompleted(CratosCollectionCompletedContract ctCratos);
		#endregion
	}
}
